<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page trimDirectiveWhitespaces="true" %>
<c:forEach var="recruitment" items="${recruPages.recordList}">
    <div class="row job_item">
        <div class="col-xs-2 col-sm-2 col-md-2">
            <button class="img-circle recruit_type_${recruitment.type_code}" readonly="true"></button>
        </div>
        <div class="col-xs-7 col-sm-7 col-md-7">
            <ul>
                <li>
                    <a href="/weixin/view_job_details?recru_id=${recruitment.id}">
                        <nobr>
                            <div class="recruit_title">${recruitment.name}</div>
                        </nobr>
                    </a>
                </li>
                <li>
                    <nobr>
                        <div><img src="/static/images/weixin/icon/iconfont-user.png" border="0"/>
                            ${recruitment.company_name}
                        </div>
                    </nobr>
                </li>
            </ul>
        </div>
        <div class="col-xs-3 col-sm-3 col-md-3 right_arr">
            <ul>
                <li>
                    <nobr>
                        <div class="salary">
                            <img src="/static/images/weixin/icon/iconfont-qian.png" border="0"/>
                            ${recruitment.salary}元/
                            <c:choose>
                                <c:when test="${recruitment.salary_unit == 'DAY'}">天</c:when>
                                <c:when test="${recruitment.salary_unit == 'MONTH'}">月</c:when>
                                <c:when test="${recruitment.salary_unit == 'HOUR'}">时</c:when>
                                <c:otherwise>天</c:otherwise>
                            </c:choose>
                        </div>
                    </nobr>
                </li>
                <li>
                    <div><img src="/static/images/weixin/icon/iconfont-riqi.png" border="0"/>
                        <fmt:formatDate value="${recruitment.create_time}" pattern="MM-dd"/>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</c:forEach>